﻿using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using ThresholdAssistant.WebAPI.Models;
using System.Text.Json.Serialization;

namespace ThresholdAssistant.WebAPI.Controllers
{
    /// <summary>
    /// 基础控制器
    /// </summary>
    [ApiController]
    [Route("api/[controller]")]
    public class BaseController : ControllerBase
    {
        /// <summary>
        /// 用户信息
        /// </summary>
        [JsonProperty("member_info"), JsonPropertyName("member_info")]
        public Member MemberInfo { get; set; }
    }
}